#include <iostream>
class MyClass {
public:
    MyClass(int num) {value = num;}
    int getValue() const {
        return value;
    }
private:
    int value;
};
int main() {
    const MyClass obj(5);
    std::cout << obj.getValue() << std::endl;
    return 0;
}
